package com.user.cloud.conf;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

import javax.annotation.PostConstruct;


/**
 * 将 nacos的服务注册、发现中心封装成start,导入即可使用
 * @author mxz
 *
 */
@Order(0)
@Configuration
@EnableDiscoveryClient
public class NacosConfig {

    @PostConstruct
    public void  initNacos(){
        System.err.println("===========> 加载nacos");
    }


}
